package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Level extends AbstractMethod {
    private static final String name = "level";
    /**
    The level at which to log the data. One of: DEBUG, INFO, WARN, ERROR Default: INFO
    **/
    /**
    记录数据的级别。下列之一：DEBUG，INFO，WARN，ERROR默认：INFO
    **/
    public Level(String log) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(log));


    }
}
